export default {
    "border": true,
    "index": true,
    "indexLabel": "序号",
    "stripe": true,
    "menuAlign": "center",
    "editBtn": true,
    "delBtn": true,
    "align": "left",
    "addBtn": true,
    "height": "auto",
    "labelWidth": 100,
    "highlightCurrentRow": true,
    "columnMovable": true,
    "menu": true,
    "dialogClickModal": false,
    "dialogEscape": false,
    "headerMenu": true,
    "autoLoad": false,
    "column": [
        {
            "label": "公司",
            "prop": "companyId",
            "type": "select",
            "sortable": true,
            "overHidden": true,
            "width": 140,
            "dicUrl": "/datatable/getDict/entity:md.company",
            "rules": [
                {
                    "required": true,
                    "message": "请输入公司",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "=",
            "hide": false,
            "search": true
        },
        {
            "label": "药店编码",
            "prop": "code",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 120,
            "rules": [
                {
                    "required": true,
                    "message": "请输入药店编码",
                    "trigger": "blur"
                },
                {
                    "max": 50,
                    "message": "长度小于50个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "hide": false,
            "search": true
        },
        {
            "label": "名称",
            "prop": "name",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "rules": [
                {
                    "required": true,
                    "message": "请输入名称",
                    "trigger": "blur"
                },
                {
                    "max": 100,
                    "message": "长度小于100个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "hide": false,
            "search": true
        },
        {
            "label": "全称",
            "prop": "fullName",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "rules": [
                {
                    "max": 200,
                    "message": "长度小于200个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "hide": false,
            "search": false
        },
        {
            "label": "电话",
            "prop": "phone",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 100,
            "rules": [
                {
                    "max": 20,
                    "message": "长度小于20个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "hide": false,
            "search": false
        },
        {
            "label": "地址",
            "prop": "address",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "rules": [
                {
                    "max": 200,
                    "message": "长度小于200个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "hide": false,
            "search": false
        },
        {
            "label": "是否可用",
            "prop": "isActive",
            "valueDefault": true,
            "type": "switch",
            "sortable": true,
            "overHidden": true,
            "span": 24,
            "width": 100,
            "rules": [
                {
                    "required": true,
                    "message": "请输入是否可用",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "=",
            "dicData": [
                {
                    "value": true,
                    "label": "是"
                },
                {
                    "value": false,
                    "label": "否"
                }
            ],
            "hide": false,
            "search": true
        },
        {
            "label": "备注",
            "prop": "remark",
            "type": "textarea",
            "sortable": true,
            "overHidden": true,
            "span": 24,
            "width": 200,
            "rules": [
                {
                    "max": 255,
                    "message": "长度小于255个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "hide": false,
            "search": false
        },
        {
            "label": "id",
            "prop": "id",
            "key": true,
            "hide": true,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 80,
            "align": "right",
            "showColumn": true,
            "rules": [
                {
                    "required": true,
                    "message": "请输入id",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "=",
            "search": false
        },
        {
            "label": "链接机构",
            "prop": "linkOrgId",
            "type": "select",
            "sortable": true,
            "overHidden": true,
            "width": 100,
            "dicUrl": "/datatable/getDict/entity:sys.org",
            "rules": [],
            "searchOperator": "=",
            "hide": true,
            "search": false,
            "editDisplay": false,
            "addDisplay": false
        },
        {
            "label": "创建时间",
            "prop": "createTime",
            "hide": false,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "more": true,
            "type": "datetime",
            "sortable": true,
            "overHidden": true,
            "width": 130,
            "format": "yyyy-MM-dd HH:mm",
            "valueFormat": "yyyy-MM-dd HH:mm:ss",
            "showColumn": true,
            "rules": [
                {
                    "required": true,
                    "message": "请输入创建时间",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "between",
            "searchDefaultStartDays": 6,
            "searchDefaultEndDays": 0,
            "search": true
        },
        {
            "label": "创建人",
            "prop": "createdBy",
            "hide": true,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 80,
            "align": "right",
            "showColumn": true,
            "rules": [
                {
                    "required": true,
                    "message": "请输入创建人",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "=",
            "search": false
        },
        {
            "label": "更新时间",
            "prop": "updateTime",
            "hide": true,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "more": true,
            "type": "datetime",
            "sortable": true,
            "overHidden": true,
            "width": 130,
            "format": "yyyy-MM-dd HH:mm",
            "valueFormat": "yyyy-MM-dd HH:mm:ss",
            "showColumn": true,
            "rules": [],
            "searchOperator": "between",
            "searchDefaultStartDays": 6,
            "searchDefaultEndDays": 0,
            "search": false
        },
        {
            "label": "更新人",
            "prop": "updatedBy",
            "hide": true,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 80,
            "align": "right",
            "showColumn": true,
            "rules": [],
            "searchOperator": "=",
            "search": false
        }
    ]
}